package com.itmg.analyze.thread;

import com.itmg.factory.AnalyzeFactory;
import com.itmg.vo.SearchResultVO;
import com.itmg.vo.TargetDataVO;

public class AmazonSearchThread implements Runnable {

	private TargetDataVO amazondata;
	private SearchResultVO amazonVO;
	
	public SearchResultVO getKakakuVO(){
		return amazonVO;
	}
	
	public AmazonSearchThread(TargetDataVO amazondata){
		this.amazondata = amazondata;
	}

	public void run() {
		try {
			amazonVO = AnalyzeFactory.getAmazonDataAnlyze().getSearchResultItemVO(amazondata);
		} catch (Exception e) {
			e.printStackTrace();
		}
	}

}
